package com.recruit.g1.common.exception;


import com.recruit.g1.common.response.StateCode;
import lombok.Getter;

public class ServiceException extends RuntimeException {
    @Getter
    private StateCode statusCode;
    //插入构造方法
    public ServiceException(StateCode statusCode) {

        this.statusCode = statusCode;
    }

}
